<?php
echo '<h3> Change Images Sub Banner</h3>';
echo '<br />';
echo $error;

echo '<form action = "'.base_url().'addmincont/changeImage" method="post" name="changeimg">';
	echo "<table>";
		echo "<tr><th>";
			echo "Colume1 : (240 x 140) ";
		echo "</th>";
		echo "<th>";
			echo "Colume2 : (240 x 140) ";
		echo "</th>";
		echo "<th>";
			echo "Colume3 : (240 x 140) ";
		echo "</th></tr>";
			
		echo "<tr><td>";
			echo anchor(base_url().'addmincont/editImg/1','<img src="'.base_url().'public/images/slide/'.$images[0]['images'].'" class="statusicon" width="240" height="140">');
		echo "</td>";
		echo "<td>";
			echo anchor(base_url().'addmincont/editImg/6','<img src="'.base_url().'public/images/slide/'.$images[5]['images'].'" class="statusicon" width="240" height="140">');
		echo "</td>";
		echo "<td>";
			echo anchor(base_url().'addmincont/editImg/11','<img src="'.base_url().'public/images/slide/'.$images[10]['images'].'" class="statusicon" width="240" height="140">');
		echo "</td></tr>";
		
		echo "<tr><td>";
			echo anchor(base_url().'addmincont/editImg/2','<img src="'.base_url().'public/images/slide/'.$images[1]['images'].'" class="statusicon" width="240" height="140">');
		echo "</td>";
		echo "<td>";
			echo anchor(base_url().'addmincont/editImg/7','<img src="'.base_url().'public/images/slide/'.$images[6]['images'].'" class="statusicon" width="240" height="140">');
		echo "</td>";
		echo "<td>";
			echo anchor(base_url().'addmincont/editImg/12','<img src="'.base_url().'public/images/slide/'.$images[11]['images'].'" class="statusicon" width="240" height="140">');
		echo "</td></tr>";
		
		echo "<tr><td>";
			echo anchor(base_url().'addmincont/editImg/3','<img src="'.base_url().'public/images/slide/'.$images[2]['images'].'" class="statusicon" width="240" height="140">');
		echo "</td>";
		echo "<td>";
			echo anchor(base_url().'addmincont/editImg/8','<img src="'.base_url().'public/images/slide/'.$images[7]['images'].'" class="statusicon" width="240" height="140">');
		echo "</td>";
		echo "<td>";
			echo anchor(base_url().'addmincont/editImg/13','<img src="'.base_url().'public/images/slide/'.$images[12]['images'].'" class="statusicon" width="240" height="140">');
		echo "</td></tr>";
		
		echo "<tr><td>";
			echo anchor(base_url().'addmincont/editImg/4','<img src="'.base_url().'public/images/slide/'.$images[3]['images'].'" class="statusicon" width="240" height="140">');
		echo "</td>";
		echo "<td>";
			echo anchor(base_url().'addmincont/editImg/9','<img src="'.base_url().'public/images/slide/'.$images[8]['images'].'" class="statusicon" width="240" height="140">');
		echo "</td>";
		echo "<td>";
			echo anchor(base_url().'addmincont/editImg/14','<img src="'.base_url().'public/images/slide/'.$images[13]['images'].'" class="statusicon" width="240" height="140">');
		echo "</td></tr>";
		
		echo "<tr><td>";
			echo anchor(base_url().'addmincont/editImg/5','<img src="'.base_url().'public/images/slide/'.$images[4]['images'].'" class="statusicon" width="240" height="140">');
		echo "</td>";
		echo "<td>";
			echo anchor(base_url().'addmincont/editImg/10','<img src="'.base_url().'public/images/slide/'.$images[9]['images'].'" class="statusicon" width="240" height="140">');
		echo "</td>";
		echo "<td>";
			echo anchor(base_url().'addmincont/editImg/15','<img src="'.base_url().'public/images/slide/'.$images[14]['images'].'" class="statusicon" width="240" height="140">');
		echo "</td></tr>";
		
echo '</table></form>';